package com.gaber.encapsulation;

/**
 * @author gaber
 * @date 2023/7/11 17:21:51
 * @description 主函数
 */
public class RunEncap {
    public static void main(String[] args) {
        EncapTest encapTest = new EncapTest();
        encapTest.setName("Gaber");
        encapTest.setAge(27);
        encapTest.setIdNum("12343ms");

        System.out.print("Name : " + encapTest.getName()+
                " Age : "+ encapTest.getAge());
    }
}
